﻿namespace ABCat.Core.Plugins.DataSets
{
	public interface IBinaryDataSet : IObjectSet<IBinaryData>
	{
		IBinaryData GetByKey(string key);
		IBinaryData CreateBinaryData();
		//void AddBinaryData(IBinaryData binaryData);
		//void AddOrReplace(string key, string data, bool compress);
		//void AddOrReplace(string key, byte[] data, bool compress);
		void AddChangedBinaryData(params IBinaryData[] binaryData);
		void SaveBinaryData();
		void Import(string dbFilePath);
	}
}